#define _CRT_SECURE_NO_WARNINGS 1

#include"stack.h"

void test1()
{
    xrw::stack<int,vector<int>> s1;
    s1.push(1);
    s1.push(2);
    s1.push(2);
    s1.push(3);

    while (!s1.empty())
    {
        cout << s1.top() << ' ';
        s1.pop();
    }

    cout << endl;
}

int main()
{
    test1();
    return 0;
}